package org.dtrd.modules.evaluation.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 匹兹堡睡眠质量评估
 * </p>
 *
 * @author QR
 * @since 2021-09-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class DtrdEntEvaluationRdSleep implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "data_id", type = IdType.AUTO)
    private Integer dataId;

    @TableLogic
    private Integer isDel;

    private Integer patientId;

    private Date createTime;

    private String input;

    private Integer total;

    private String level;

    private String output;

    public DtrdEntEvaluationRdSleep init() {
        isDel = 0;
        createTime = new Date();
        return this;
    }
}
